HAL OPAMP callback function migration

This section provides information about the HAL OPAMP Callback function migration.

Note

In HAL1 OPAMP driver, the only callbacks are MspInit and MspDeInit , as we have applied the generic concept Remove MspInit and MspDeInit callbacks. Therefore, there are no more callbacks in this driver.

Registers a user callback for OPAMP events.

HAL1

HAL2

HAL_OPAMP_RegisterCallback()

Removed .


Unregisters a user callback for OPAMP events.

HAL1

HAL2

HAL_OPAMP_UnRegisterCallback()

Removed .